@extends('Agent.temple')
@section('content')
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i>
        <a  style="text-decoration:none" href="{{ route('index') }}">首页 <span class="c-gray en"></a>&gt;
        </span> 用户任务管理 <span class="c-gray en">&gt;
        </span> <a  style="text-decoration:none" href="{{ route('applylist') }}">用户领取任务管理</a>&gt;
        </span> <a  style="text-decoration:none" href="#">申请资料编写 <span class="c-gray en"></a>
        {{--<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a--}}
    </nav>    <article class="page-container">
        <div  class="form form-horizontal" id="form-member-add" novalidate="novalidate" url="{{ Request::getRequestUri() }}">
            {{--post提交:CSRF 保护,from表单提交必填--}}
            {{ csrf_field() }}
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">申请人账号：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $applyInfo->nodecode }}</label>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">申请手机型号：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $applyInfo->title }}
                        ({{ $applyInfo->color }})
                    </label>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">推荐的vip数：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $vip['num'] }}</label>
                </div>
            </div>
            @if (!empty($vip['num']))
                <div class="row cl">
                    <label class="form-label col-xs-4 col-sm-3">推荐的vip：</label>
                    <div class="formControls col-xs-8 col-sm-9">
                        <label class="from_label">
                            @foreach ($vip['list'] as $k=>$v)
                                {{ $v->nodecode }}
                                @if ($k<($vip['num']-1))
                                    ,
                                @endif
                            @endforeach
                        </label>
                    </div>
                </div>
            @endif
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">推荐的真实vip数：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $vip['realnum'] }}</label>
                </div>
            </div>
            @if (!empty($vip['realnum']))
                <div class="row cl">
                    <label class="form-label col-xs-4 col-sm-3">推荐的真实vip：</label>
                    <div class="formControls col-xs-8 col-sm-9">
                        <label class="from_label">
                            @foreach ($vip['reallist'] as $k=>$v)
                                {{ $v->nodecode }}
                                @if ($k<($vip['realnum']-1))
                                    ,
                                @endif
                            @endforeach
                        </label>
                    </div>
                </div>
            @endif
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">申请人真实姓名：</label>
                <div class="formControls col-xs-2 col-sm-3">
                    <input type="text" class="input-text" value="{{ $applyInfo->realname }}"  name="realname">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">申请人身份证号码：</label>
                <div class="formControls col-xs-2 col-sm-3">
                    <input type="text" class="input-text" value="{{ $applyInfo->id_card }}"  name="id_card">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">信用卡号：</label>
                <div class="formControls col-xs-2 col-sm-3">
                    <input type="text" class="input-text" value="{{ $applyInfo->credit_card }}"  name="credit_card">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">申请时间：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $applyInfo->create_time }}</label>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">预计线下取手机时间：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $applyInfo->expect_time }}</label>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">订单利润：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $applyInfo->profit }}</label>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">身份证件正面：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    @if (empty($applyInfo->front_card))
                    <span class="span_img"   />
                    @else
                        <img class="span_img_block"  src="{{ PIC_SERVICE.$applyInfo->front_card }}" />
                    @endif
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">身份证件反面：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    @if (empty($applyInfo->back_card))
                        <span class="span_img"   />
                    @else
                        <img class="span_img_block" src="{{ PIC_SERVICE.$applyInfo->back_card }}" />
                    @endif
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">备注：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <label class="from_label">{{ $applyInfo->remarks }}</label>
                </div>
            </div>
            <div class="row cl">
                <div class="col-9 col-offset-3">
                    <input class="btn btn-primary radius" id="edit" type="button" value="&nbsp;&nbsp;修改&nbsp;&nbsp;">
                </div>
            </div>
        </div>
    </article>
@endsection
<script type="text/javascript" src="{{asset('/js/jquery/1.9.1/jquery.min.js')}}"></script>
<script src="{{asset('/js/agent/apply.detial.js')}}"></script>


